
"""Possible vm states for instances.

Compute instance vm states represent the state of an instance as it pertains to
a user or administrator. When combined with task states (task_states.py), a
better picture can be formed regarding the instance's health.

"""

vbox_power_state = {
    1:"shutdown",
    2:"saved",
    5:"running",
    6:"paused",
}
BUILDING='building'
RUNNING = 'running'
REGISTERING = 'registering'
REGISTERED = 'registered'
PAUSED = 'paused'
SUSPENDED = 'suspended'
DELETED = 'deleted'
SHUTDOWN = 'shutdown'
SAVED = 'saved'

OFFMIGRATING = 'offline-migrating'
MIGRATING = 'migrating'
RESIZING = 'resizing'

ERROR = 'error'



